[Top] [Prev] [Next] [Bottom] [Contents]

Starting Sapphire/Web User

It is recommended that the following commands be added to each user's system startup file. C shell users should add the lines to their .cshrc file; Bourne/Korn shell users should modify their .profile file.

Note: You cannot perform the following steps while logged in as a "superuser"-superusers do not have environment variables.

Starting Sapphire/Web under C shell

1. Set the environment variable SAPPHIRE to the directory in which Sapphire/Web is installed:

	setenv SAPPHIRE sapphire_home
2. Add the directory $SAPPHIRE/bin to your path:

	set path=($SAPPHIRE/bin $path)
3. Make a directory named dsql, in which Sapphire/Web will locate Data Objects. Type (do not add this command to your .cshrc):

	mkdir $HOME/dsql
4. Set the environment variable DSQLDIR to the directory in which Sapphire/Web will locate Data Objects:

	setenv DSQLDIR $HOME/dsql
5. Set the environment variable ORB_HOST to the host running the Sapphire/Gateway daemon. If it is the same machine on which you will start the tool, this step may be skipped.

	setenv ORB_HOST hostname
6. Now you are ready to start Sapphire/Web. If you would like to launch Sapphire/Web automatically each time you login, add this line to your .cshrc. Otherwise, type it in on the command line to launch Sapphire/Web:

	$SAPPHIRE/bin/saweb &

Starting Sapphire/Web under Bourne/Korn shell

1. Set the environment variable SAPPHIRE to the directory in which Sapphire/Web is installed:

	SAPPHIRE=sapphire_home; export SAPPHIRE
2. Add the directory $SAPPHIRE/bin to your path:

	PATH=$SAPPHIRE/bin:$PATH; export PATH
3. Make a directory named dsql, in which Sapphire/Web will locate Data Objects. Type (do not add this command to your .profile):

	mkdir $HOME/dsql
4. Set the environment variable DSQLDIR to the directory in which Sapphire/Web will locate Data Objects:

	DSQLDIR=$HOME/dsql; export DSQLDIR
5. Set the environment variable ORB_HOST to the host running the Sapphire/Gateway daemon. If it is the same machine on which you will start the tool, this step may be skipped.

	ORB_HOST=hostname; export ORB_HOST
6. Now you are ready to start Sapphire/Web. If you would like to launch Sapphire/Web automatically each time you login, add this line to your .profile. Otherwise, type it in on the command line to launch Sapphire/Web:

	$SAPPHIRE/bin/saweb &


[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.